//package top.mccsdl.Acbot.utils;
//
//import cn.hutool.http.HttpRequest;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import top.mccsdl.Acbot.config.BotConfig;
//import top.mccsdl.Acbot.entity.Message;
//
//import static top.mccsdl.Acbot.config.BotConfig.*;
//import static top.mccsdl.Acbot.enums.Emoji.BIXIN;
//
//@Slf4j
//public class AcHttpUtils {
//
//    @Autowired
//    private BotConfig botConfig;
//
//    public static void putEmoji(String msgId, String channelId, Message message) {
//        String EMOTE = HttpRequest.put(String.format(DOMAIN + PUT_CHANNELS_MSG_EMOTE, channelId, msgId,BIXIN.getType(),BIXIN.getId()))
//                .body(message.toJsonStr())
//                 .header("Authorization", "QQBot " + botConfig.getAccessToken())
//                .execute().body();
//        if (!"".equals(EMOTE.trim())){
//            log.info("回复表情返回->{}",EMOTE);
//        }
//    }
//}
